<template>
    <div class="home">
        <h2>信息：{{ name }}-{{ age }}</h2>
    </div>
</template>
<script>

export default {
    props: {
        name: {
            type: String,
            default:''
        },
        age: {
            type: Number,
            default:0
        }
    }
}
</script>
<style scoped lang="less"></style>